-- ----------------------------------------------------------
--
-- Author: czf
-- date: 2018-11-24
-- description: 模板模式-抽象类
--
-- ----------------------------------------------------------

Game = Game or BaseClass()

-- 初始化游戏
function Game:Initialize()
	-- body
end

-- 开始游戏
function Game:StartPlay()
	-- body
end

-- 结束游戏
function Game:EndPlay()
	-- body
end

function Game:Play()
	self:Initialize()
	self:StartPlay()
	self:EndPlay()
end